﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="wfrmClienteActualizar.aspx.cs" Inherits="proyGestionVisitas.Gestion.wfrmClienteActualizar" %>

<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.2, Version=11.2.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        #principal
        {
            width: 100% !important;
            margin: 0 auto !important;
        }
        .filas
        {
            padding: 0.5em 0.75em !important;
        }
        .contenido
        {
            width: 100%;
        }
        .col_izq
        {
            width: 125px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <dx:ASPxRoundPanel ID="ASPxRoundPanel1" Width="100%" runat="server" HeaderText="Actualizar Cliente">
                <PanelCollection>
                    <dx:PanelContent>
                        <div id="contenido">
                            <fieldset>
                                <legend>Datos del Cliente</legend>
                                <table width="60%" style="margin: auto">
                                    <tr>
                                        <td class="filas col_izq">
                                            <dx:ASPxLabel ID="lblCodigoCliente" runat="server" Text="Código del Cliente">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td class="filas">
                                            <dx:ASPxTextBox ID="txtCodigoCliente" runat="server" Width="170px" MaxLength="11" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                <ValidationSettings>
                                                    <ErrorFrameStyle ImageSpacing="4px">
                                                        <ErrorTextPaddings PaddingLeft="4px" />
                                                    </ErrorFrameStyle>
                                                </ValidationSettings>
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas col_izq">
                                            <dx:ASPxLabel ID="lblTipoDoc" runat="server" Text="Tipo de Documento">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td class="filas">
                                            <dx:ASPxComboBox ID="cboTipodoc" runat="server" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SelectedIndex="0" 
                                                SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                <Items>
                                                    <dx:ListEditItem Selected="True" Text="RUC" Value="RUC" />
                                                </Items>
                                                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Editors/Loading.gif">
                                                </LoadingPanelImage>
                                                <ValidationSettings>
                                                    <ErrorFrameStyle ImageSpacing="4px">
                                                        <ErrorTextPaddings PaddingLeft="4px" />
                                                    </ErrorFrameStyle>
                                                </ValidationSettings>
                                            </dx:ASPxComboBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas col_izq">
                                            <dx:ASPxLabel ID="lblRazonSocial" runat="server" Text="Rázon Social">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td class="filas">
                                            <dx:ASPxTextBox ID="txtRazonSocial" runat="server" Width="100%" MaxLength="500" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                <ValidationSettings>
                                                    <ErrorFrameStyle ImageSpacing="4px">
                                                        <ErrorTextPaddings PaddingLeft="4px" />
                                                    </ErrorFrameStyle>
                                                </ValidationSettings>
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas col_izq">
                                            <dx:ASPxLabel ID="lblDireccion" runat="server" Text="Dirección">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td class="filas">
                                            <dx:ASPxTextBox ID="txtDireccion" runat="server" Width="100%" MaxLength="500" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                <ValidationSettings>
                                                    <ErrorFrameStyle ImageSpacing="4px">
                                                        <ErrorTextPaddings PaddingLeft="4px" />
                                                    </ErrorFrameStyle>
                                                </ValidationSettings>
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas col_izq">
                                            <dx:ASPxLabel ID="lblDepartamento" runat="server" Text="Departamento">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td class="filas">
                                            <dx:ASPxTextBox ID="txtDepartamento" runat="server" Width="100%" MaxLength="100" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                <ValidationSettings>
                                                    <ErrorFrameStyle ImageSpacing="4px">
                                                        <ErrorTextPaddings PaddingLeft="4px" />
                                                    </ErrorFrameStyle>
                                                </ValidationSettings>
                                            </dx:ASPxTextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="filas col_izq">
                                            <dx:ASPxLabel ID="lblProvincia" runat="server" Text="Provincia">
                                            </dx:ASPxLabel>
                                        </td>
                                        <td class="filas">
                                            <dx:ASPxTextBox ID="txtProvincia" runat="server" Width="100%" MaxLength="100" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                <ValidationSettings>
                                                    <ErrorFrameStyle ImageSpacing="4px">
                                                        <ErrorTextPaddings PaddingLeft="4px" />
                                                    </ErrorFrameStyle>
                                                </ValidationSettings>
                                            </dx:ASPxTextBox>
                                        </td>
                                        <tr>
                                            <td class="filas col_izq">
                                                <dx:ASPxLabel ID="lblDistrito" runat="server" Text="Distrito">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="filas">
                                                <dx:ASPxTextBox ID="txtDistrito" runat="server" Width="100%" MaxLength="100" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                    <ValidationSettings>
                                                        <ErrorFrameStyle ImageSpacing="4px">
                                                            <ErrorTextPaddings PaddingLeft="4px" />
                                                        </ErrorFrameStyle>
                                                    </ValidationSettings>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="filas col_izq">
                                                <dx:ASPxLabel ID="lblRubroComercial" runat="server" Text="Rubro Comercial">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="filas">
                                                <dx:ASPxTextBox ID="txtRubroComercial" runat="server" Width="100%" MaxLength="100" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                    <ValidationSettings>
                                                        <ErrorFrameStyle ImageSpacing="4px">
                                                            <ErrorTextPaddings PaddingLeft="4px" />
                                                        </ErrorFrameStyle>
                                                    </ValidationSettings>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="filas col_izq">
                                                <dx:ASPxLabel ID="lblSegmento" runat="server" Text="Segmento">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="filas">
                                                <dx:ASPxTextBox ID="txtSegmento" runat="server" Width="100%" MaxLength="500" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                    <ValidationSettings>
                                                        <ErrorFrameStyle ImageSpacing="4px">
                                                            <ErrorTextPaddings PaddingLeft="4px" />
                                                        </ErrorFrameStyle>
                                                    </ValidationSettings>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="filas col_izq">
                                                <dx:ASPxLabel ID="lblPrincipalCIIU" runat="server" Text="Principal CIIU">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="filas">
                                                <dx:ASPxTextBox ID="txtPrincipalCIIU" runat="server" Width="100%" MaxLength="500" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                    <ValidationSettings>
                                                        <ErrorFrameStyle ImageSpacing="4px">
                                                            <ErrorTextPaddings PaddingLeft="4px" />
                                                        </ErrorFrameStyle>
                                                    </ValidationSettings>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="filas col_izq">
                                                <dx:ASPxLabel ID="lblSec1CIIU" runat="server" Text="Secundario-1 CIIU">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="filas">
                                                <dx:ASPxTextBox ID="txtSect1CIIU" runat="server" Width="100%" MaxLength="500" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                    <ValidationSettings>
                                                        <ErrorFrameStyle ImageSpacing="4px">
                                                            <ErrorTextPaddings PaddingLeft="4px" />
                                                        </ErrorFrameStyle>
                                                    </ValidationSettings>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="filas col_izq">
                                                <dx:ASPxLabel ID="lblSec2CIIU" runat="server" Text="Secundario-2 CIIU">
                                                </dx:ASPxLabel>
                                            </td>
                                            <td class="filas">
                                                <dx:ASPxTextBox ID="txtSec2CIIU" runat="server" Width="100%" MaxLength="500" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css">
                                                    <ValidationSettings>
                                                        <ErrorFrameStyle ImageSpacing="4px">
                                                            <ErrorTextPaddings PaddingLeft="4px" />
                                                        </ErrorFrameStyle>
                                                    </ValidationSettings>
                                                </dx:ASPxTextBox>
                                            </td>
                                        </tr>
                                </table>
                                <table width="60%" style="margin: auto">
                                    <tr>
                                        <td class="filas" align="right">
                                            <dx:ASPxButton ID="btnLimpiar" runat="server" Text="Limpiar" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                                Width="100px" OnClick="btnLimpiar_Click">
                                            </dx:ASPxButton>
                                        </td>
                                        <td class="filas" align="center">
                                            <dx:ASPxButton ID="btnGrabar" runat="server" Text="Grabar" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                                Width="100px" OnClick="btnGrabar_Click">
                                            </dx:ASPxButton>
                                        </td>
                                        <td class="filas">
                                            <dx:ASPxButton ID="btnRegresar" runat="server" Text="Regresar" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                                Width="100px" OnClick="btnRegresar_Click">
                                            </dx:ASPxButton>
                                        </td>
                                    </tr>
                                </table>
                            </fieldset>
                        </div>
                        <div id="PopUp">
                            <dx:ASPxPopupControl ID="pcMensaje" runat="server" AllowDragging="True" ClientInstanceName="pcMensaje" CloseAction="CloseButton" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css"
                                CssPostfix="PlasticBlue" HeaderText="Mensaje" Modal="True" PopupHorizontalAlign="WindowCenter" PopupVerticalAlign="WindowCenter" ShowPageScrollbarWhenModal="True" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                Width="300px">
                                <LoadingPanelImage Url="~/App_Themes/PlasticBlue/Web/dvLoading.gif">
                                </LoadingPanelImage>
                                <CloseButtonStyle>
                                    <Paddings Padding="0px" />
                                </CloseButtonStyle>
                                <ContentStyle>
                                    <BorderBottom BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" />
                                </ContentStyle>
                                <HeaderStyle>
                                    <Paddings PaddingBottom="6px" PaddingLeft="15px" PaddingRight="6px" PaddingTop="3px" />
                                </HeaderStyle>
                                <ContentCollection>
                                    <dx:PopupControlContentControl ID="PopupControlContentControl1" runat="server" SupportsDisabledAttribute="True">
                                        <table align="center" width="100%">
                                            <tr>
                                                <td align="center" colspan="2" class="filas">
                                                    <dx:ASPxLabel ID="lblmenOK" runat="server">
                                                    </dx:ASPxLabel>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" align="center" class="filas">
                                                    <dx:ASPxButton ID="btnAceptarOK" runat="server" AutoPostBack="False" CausesValidation="False" CssFilePath="~/App_Themes/PlasticBlue/{0}/styles.css" CssPostfix="PlasticBlue" SpriteCssFilePath="~/App_Themes/PlasticBlue/{0}/sprite.css"
                                                        Text="Aceptar" Width="100px">
                                                        <ClientSideEvents Click="function(s, e) { pcMensaje.Hide(); }" />
                                                    </dx:ASPxButton>
                                                </td>
                                            </tr>
                                        </table>
                                    </dx:PopupControlContentControl>
                                </ContentCollection>
                            </dx:ASPxPopupControl>
                        </div>
                    </dx:PanelContent>
                </PanelCollection>
            </dx:ASPxRoundPanel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
